package com.share.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author sunxuejian
 * @date 2020/6/29
 */
@ConfigurationProperties(prefix = "es")
@Data
public class EsConfig {

    private String clusterName;
    private String hostIp;
    private int hostPort;

}
